﻿using CSCSN.EntitiyModels.ApplicationTaskAbout;
using CSCSN.Foundation.SpecificationsForEntityModel;
using Microsoft.AspNetCore.Identity;
using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Text;

namespace CSCSN.EntitiyModels
{
    /// <summary>
    /// 任务实体类
    /// </summary>
   public class ApplicationTask : Entity
    {
       
      
     
        public string Score { get; set; }                                         //分值
        public DateTime BeginTime { get; set; }                                   //开始时间
        public string Duration { get; set; }                                      //持续时间
        public Guid IssuerID { get; set; }                                        //任务发起人ID
        public Guid? ApplicationTaskTypesID { get; set; }                         //任务类型ID
        [ForeignKey("IssuerID")]
        public virtual ApplicationRole ApplicationRole { get; set; }
        public virtual ApplicationTaskType ApplicationTaskTypes { get; set; }
        public virtual TaskSite TaskSites { get; set; }                           //任务地点ID
    }
}
